home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_qt.idb / usr / freeware / include / Qt / qdropsite.h.z / qdropsite.h
Encoding:
C/C++ Source or Header  |  1998-10-28  |  1.3 KB  |  47 lines

  1. /****************************************************************************
  2. ** $Id: qdropsite.h,v 2.2 1998/07/03 00:09:32 hanord Exp $
  3. **
  4. ** Definitation of Drag and Drop support
  5. **
  6. ** Copyright (C) 1992-1998 Troll Tech AS.  All rights reserved.
  7. **
  8. ** This file is part of Qt Free Edition, version 1.40.
  9. **
  10. ** See the file LICENSE included in the distribution for the usage
  11. ** and distribution terms, or http://www.troll.no/free-license.html.
  12. **
  13. ** IMPORTANT NOTE: You may NOT copy this file or any part of it into
  14. ** your own programs or libraries.
  15. **
  16. ** Please see http://www.troll.no/pricing.html for information about 
  17. ** Qt Professional Edition, which is this same library but with a
  18. ** license which allows creation of commercial/proprietary software.
  19. **
  20. *****************************************************************************/
  21.  
  22. #ifndef QDROPSITE_H
  23. #define QDROPSITE_H
  24.  
  25. class QDropSitePrivate;
  26. class QWidget;
  27. class QDragEnterEvent;
  28. class QDragMoveEvent;
  29. class QDragLeaveEvent;
  30. class QDropEvent;
  31.  
  32. class QDropSite {
  33. public:
  34.     QDropSite( QWidget* parent );
  35.     virtual ~QDropSite();
  36.  
  37.     virtual void dragEnterEvent( QDragEnterEvent * );
  38.     virtual void dragMoveEvent( QDragMoveEvent * );
  39.     virtual void dragLeaveEvent( QDragLeaveEvent * );
  40.     virtual void dropEvent( QDropEvent * );
  41.  
  42. private:
  43.     QDropSitePrivate *d;
  44. };
  45.  
  46. #endif
  47.